import config from "@/config";
import type { SegmentedButtonsProps } from "react-native-paper";

// icon: https://callstack.github.io/react-native-paper/docs/guides/icons/
const btnList: SegmentedButtonsProps["buttons"] = [
  { label: "设备信息", icon: "cellphone", value: "0" },
  { label: "排期信息", icon: "clipboard-clock-outline", value: "1" },
  { label: "素材信息", icon: "chart-box-outline", value: "2" },
  { label: "日志信息", icon: "math-log", value: "3" },
  { label: "旧版APP数据", icon: "cellphone", value: "8" }
];

if (config.IS_DEBUG) {
  btnList.push(
    { label: "网络信息", icon: "cellphone-nfc", value: "4" },
    { label: "WebSocket", icon: "cellphone-nfc", value: "5" },
    { label: "SQLint", icon: "cellphone-nfc", value: "6" },
    { label: "System", icon: "cellphone-nfc", value: "7" },
  );
}

export { btnList };
